CC = cl
BLD = ..\release
CCFLAGS = /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd \
	  /W3 /c /ZI /TP /D_CRT_SECURE_NO_WARNINGS /nologo \
	  /I"..\walle_lib"

RCFLAGS = /d "_UNICODE" /d "UNICODE"
LKFLAGS = /INCREMENTAL /LIBPATH:$(BLD) /DEBUG

LIBS = kernel32.lib user32.lib

all:console_app.exe 

console_app.exe:consoleApp.obj
	link.exe $(LKFLAGS) /nologo $(LIBS) /out:$(BLD)\$@ $^

consoleApp.obj:ConsoleApp.cpp
	$(CC) $(CCFLAGS) /c $< /Fo$@

clean:
	-del $(BLD)\consoleApp.obj $(BLD)\console_app.exe






